class A{
	static int i=10;
	static void m1(){
		System.out.println("A-m1()");
	}
	void m2(){
		System.out.println("B-m2()");
	}
}
class B extends  A{
	static int i=20;
	static void m1(){
		System.out.println("B-m1()");
	}
	
}
public class TestVar {
public static void main(String[] args) {
	A a=new B();
	System.out.println(a.i);
	a.m1();
	a.m2();
}
}
